package com.baizhi.service;

import com.baizhi.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    public void insert(Department department);
    public void update(Department department);
    public void delete(int[] ids);
    public void deleteOne(int id);
    public int selectTotal(String name);
    public List<Department> selectDepartmentByPage(int page, int rows, String name);
}
